package ai.peanut.one.api.apollo;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.HashMap;
import java.util.Map;

@RestController
public class TestControllerss {
    @Resource
    private ApolloConfigBean1 apolloConfigBean1 ;

    @GetMapping(value = "/apollo/test")
    public Map<String, Object> testT2() {
        Map map = new HashMap();
        map.put("sdfds",apolloConfigBean1.getTokenAuth());
        return map ;
    }
}
